package JFrame;

import javax.swing.*;
import java.awt.*;

// 注册失败提示页面
public class RegisterFailedJFrame extends JFrame {

    public RegisterFailedJFrame(){
        this.setName("村镇银行业务储蓄系统");
        this.setTitle("注册失败界面");
        this.setSize(300, 200);
        this.setAlwaysOnTop(true);
        this.setLocationRelativeTo(null);
        this.setDefaultCloseOperation(2);
        this.setLayout(new FlowLayout());
        this.setVisible(true);

        JLabel label = new JLabel("注册信息不合法,请重新检查!!!");
        this.add(label);
    }


}
